package com.ttg.web.dao;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ttg.common.entities.BasePage;
import com.ttg.model.dto.ListConditionsTipsDto;
import com.ttg.model.pojo.ConditionsName;
import com.ttg.model.vo.ConditionTipsVo;
import com.ttg.model.vo.ConditionVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author ZQ
 * @version 1.0
 * @Description
 * @date 2021/1/26 13:25
 */
public interface ConditionsNameDao extends IService<ConditionsName> {

    List<ConditionVo> findConditionsNameAndDataType();

    List<ConditionsName> findConditionsNameByTypeAndSheet(Integer type,Integer sheet);

    List<ConditionsName> findConditionsNameByClassId(String classId);

    List<ConditionsName> findConditionsNameByClassIdAndSetStatus(String classId);

    BasePage<ConditionTipsVo> listConditionsTips(BasePage<ConditionTipsVo> page,ListConditionsTipsDto reqDto);
}
